README
___________________________________________________________________

11/29/2023
___________________________________________________________________

Data repository for 

The Medium Energy Electron Telescope (MEET): 
Geant4-based instrument design and analysis

corresponding author: Benjamin Hogan (ben.hogan@lasp.colorado.edu)
___________________________________________________________________


This repository contains the following folders:

	- Shielding_studies
	- Spherical_cap
	- Teeth_studies
	
All files are matlab data files, scripts, or figures.
___________________________________________________________________

Shielding_studies

This folder contains folderes for rear and side penetrating 
trajectories as described in the text. Each folder Rear_penetrating
and Side_penetrating contains results for electrons and protons.

E_D.mat contains an n x 2 matrix which contains the energy deposited 
for n events on D1 and D2 in each column respectively. 

KEin.mat contains arrays of length n with information for n events. 

These arrays are

	KEin      kinetic energy, MeV, of the particle generated in Geant
	m1,m2,m3  initial momentum components in the x,y,z directions of 
	          the particle event  
	x,y,z     initlal location of the generated particle
	
The results of the shielding studies are compiled in results.mat
results_protons_800keV.mat are used as in figure 5c.
Figure 5a and 5b are readily available in the matlab figure file here.
___________________________________________________________________

Spherical_cap

This folder E_D_* and KEin_* files. Each of these contain similar data
as described above. Because many electron need to be simulated and for
memory limitations, four different .mat files contain four different 
runs for electrons, E_D_1 and KEin_1, through E_D_4 and KEin_4. 

Less events are generated for protons, these are E_D_protons and 
KEin_protons. 

These spherical cap results are generated as described in the main text
and this data is used for figures 6 and 7 in the paper.

___________________________________________________________________

Teeth_studies

This folder contains E_D_* and KEin_* files as described above. The 
material is either Al or Ta for aluminum or tantalum teeth. The number
2 through 5 corresponds to the total number of teeth in the collimator 
for that simulation, with a note here that the last tooth of the 
collimator is always a steel tooth. For example, E_D_Al2 corresponds to 
a 2-toothed collimator, with a steel last tooth and 1 additional aluminum
tooth. *_Al5 correspons to one steel tooth and 4 additioanl aluminum teeth, 
for 5 total teeth. 

These results are processed with the script analysis_teeth.m
A compiled matlab workspace of these results is readily available, 
workspace_teeth_20230722.mat


